<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script>
			window.onload = function()
			{
				let sum  = 0;
				for(let i = 100 ;i <= 999; i++)
				{
					let a = parseInt(i / 100);
					let b = parseInt(i / 10 % 10);
					let c = parseInt(i % 10);
					
					if(a*a*a + b*b*b + c*c*c == i)
					{
						console.log(i);
						++sum;
					}
				}
				alert(sum);
			}
		</script>
	</head>
	<body>
	</body>
</html>	